package com.ruoyi.activity.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.stereotype.Component;

/**
 * 农事活动信息对象 argo_activity
 * 
 * @author qhr
 * @date 2024-02-27
 */
@Component
public class ArgoActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农事活动代号 */
    private Long id;

    /** 农事活动类型 */
    @Excel(name = "农事活动类型")
    private String actType;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String actDepict;

    /** 负责人代号 */
    private Long userId;

    /** 投入品代号 */
    @Excel(name = "投入品代号")
    private Long inputsId;

    /** 投入品数量 */
    @Excel(name = "投入品数量")
    private Long inputsNum;

    /** 农作物代号 */
    @Excel(name = "农作物代号")
    private Long cropsId;

    /** 农产品代号 */
    @Excel(name = "农产品代号")
    private Long productId;

    /** 0 逻辑删除,1 删除 */
    private String delFlag;

    private String inputsName;
    private String cropsName;
    private String productDepic;

    public String getInputsName() {
        return inputsName;
    }

    public void setInputsName(String inputsName) {
        this.inputsName = inputsName;
    }

    public String getCropsName() {
        return cropsName;
    }

    public void setCropsName(String cropsName) {
        this.cropsName = cropsName;
    }

    public String getProductDepic() {
        return productDepic;
    }

    public void setProductDepic(String productDepic) {
        this.productDepic = productDepic;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActType(String actType) 
    {
        this.actType = actType;
    }

    public String getActType() 
    {
        return actType;
    }
    public void setActDepict(String actDepict) 
    {
        this.actDepict = actDepict;
    }

    public String getActDepict() 
    {
        return actDepict;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setInputsId(Long inputsId) 
    {
        this.inputsId = inputsId;
    }

    public Long getInputsId() 
    {
        return inputsId;
    }
    public void setInputsNum(Long inputsNum) 
    {
        this.inputsNum = inputsNum;
    }

    public Long getInputsNum() 
    {
        return inputsNum;
    }
    public void setCropsId(Long cropsId) 
    {
        this.cropsId = cropsId;
    }

    public Long getCropsId() 
    {
        return cropsId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actType", getActType())
            .append("actDepict", getActDepict())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("inputsId", getInputsId())
            .append("inputsName",getInputsName())
            .append("inputsNum", getInputsNum())
            .append("cropsId", getCropsId())
            .append("cropsName",getCropsName())
            .append("productId", getProductId())
            .append("productDepic",getProductDepic())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
